package com.yfp.operation.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.sql.Timestamp;

/**
 * 
 * @version 1.0
 * @date 2024-06-27 13:51
 */
@Data
public class CPComboRoadDTO {

    /**
     * id
     */
    @Schema(description = "id")
    private String id;

    /**
     * 套餐计划id
     */
    @Schema(description = "套餐计划id")
    private String cPlanId;

    /**
     * 日期
     */
    @Schema(description = "日期")
    @NotNull(message = "日期不能为空")
    private Timestamp date;

    /**
     * 货道号
     */
    @Schema(description = "货道号")
    @NotNull(message = "货道号不能为空")
    private String roadNumber;

    /**
     * 套餐id
     */
    @Schema(description = "计划id")
    @NotNull(message = "计划id不能为空")
    private String comboId;

    /**
     * 套餐数量
     */
    @Schema(description = "套餐数量")
    @NotNull(message = "套餐数量不能为空")
    private String comboNum;

}
